package com.lelouch.wetlanddevice.repository;

import com.lelouch.wetlandcommon.domain.device.CollectionData;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CollectionDataRepository extends MongoRepository<CollectionData, String> {

    long  countBySite(String siteid);
    //
    //List<WetlandBasicEntity> findByIdIn(List<String> wetlandIds);
    //
    //boolean existsByNameEquals(String wetlandName);
    //
    //WetlandBasicEntity findByName(String wetlandName);

    //Page<WetlandBasicEntity> findAll(Pageable pageable);
}
